/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-05-01
 * Time: 19:54
 */
public class q {
    public static void main(String[] args) {
        System.out.println(add(1,2));
        System.out.println(add(1.1,1.2,1.3));
    }
    public static int add(int a,int b){
        return a+b;
    }
    public  static double add(double a,double b,double c){
        return a+b+c;
    }
}
